<?php
# this is file with all interface functions necessary to create register page

# this is function that will return final data for register page
function i_group_results(){
	$html = '';
	$html .= '<div class="wrapper">';

	
	
	$html .= '<div class ="header">';
 	#	$html .= '<h1>Meet n\' Go!</h1>';        
#	$html .= '<div class="search">'.
#		'<form action="index.php?id=6" method="get"><table width="131" border="0" cellspacing="0" cellpadding="0">'.
#		'<tr>'.
#			'<td width="96"><input name="input" type="text" class="textbox" value="Search"></td>'.
#			'<td width="35">'.
#			'<input name="button" type="submit" class="search" id="button" value="">'.
#			'</td>'.
#		'</tr>'.
#		'</table>'.
#		'</form>'.
#		'</div>';
	
	$html .= '</div>';
    
		$html .= '<div class="mainPage" >';
			$html .='<h2 style="margin-left:350px;">Available Groups</h2>';
			$html .= '<p>&nbsp;</p>';
			
			$html .= '<table width="437" height="164" border=" " style="margin-left:250px;">'.
				'<tr>'.
					'<th width="98" scope="col"><div align="left"><u>Date</div></u></th>'.
					'<th width="197" scope="col"> <div align="center"><u>Group</u></div></th>'.
					'<th width="197" scope="col"><u>Group master</u></th>'.
					'<td width="62" scope="col"><form id="form1" name="form1" method="post" action="">'.
					'<label for="join"></label>'.
					'</form></td>'.
				'</tr>'.
				'<tr>'.
					'<td>20.12.2012</td>'.
					'<td><div align="center"><a href="">Group 1</a></div></td>'.
					'<td>Group master 1</td>'.
					'<td><form id="form2" name="form2" method="post" action="">'.
					'<input type="submit" name="join1" id="join1" value="Join" style="width:50px;" />'.
					'</form></td>'.
				'</tr>'.
				'<tr>'.
					'<td>21.12.2012</td>'.
					'<td><div align="center"><a href="">Group 2</a></div></td>'.
					'<td>Group master 2</td>'.
					'<td><input type="submit" name="join2" id="join2" value="Join" style="width:50px;"/></td>'.
				'</tr>'.
				'<tr>'.
					'<td>30.12.2012</td>'.
					'<td><div align="center"><a href="">Group 10</a></div></td>'.
					'<td>Group master 10</td>'.
					'<td><input type="submit" name="join3" id="join3" value="Join" style="width:50px;"/></td>'.
				'</tr>'.
				'<tr>'.
					'<td>02.01.2013</td>'.
					'<td><div align="center"><a href="">Group 5</a></div></td>'.
					'<td>Group master 5</td>'.
					'<td><input type="submit" name="join4" id="join4" value="Join" style="width:50px;"/></td>'.
				'</tr>'.
				'<tr>'.
					'<td>10.01.2013</td>'.
					'<td><div align="center"><a href="">Group 7</a></div></td>'.
					'<td>Group master 7</td>'.
					'<td><input type="submit" name="join5" id="join5" value="Join" style="width:50px;"/></td>'.
				'</tr>'.
			'</table>';
			$html .= '</p>';
    
		$html .= '</div>';
    
	$html .= '<div class="clear">&nbsp;</div>';	 

	$html .= '</div>';

	

	return $html;
} // i_group_results()
?>






	 